﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using motelmanagement.bo;
namespace motelmanagement.common
{
    class GlobalInfor
    {
        private static int roleId;
        private static int staffId;
        public static void setRole(int id){
            GlobalInfor.roleId = id;
        }
        public static int getRole() {
            return roleId;
        }
        public static void setStaff(int id) {
            GlobalInfor.staffId = id;
        }
        public static int getStaff() {
            return staffId;
        }
    }
}
